<extend name='Public/_Main' />
<block name='right'>
    <if condition="$action">
        <assign name='actionurl' value='$action' />
        <else/>
        <assign name='actionurl' value='__SELF__' />
    </if>

    <form action='{$actionurl}' method='post' class='require require2' autocomplete="off" mid="{$mid}">
        {$form}
        <br/>
        <div class="modal-footer">
            <div class='col-xs-6'>
                <button class="btn btn-lg btn-primary btn-block" type="submit" >保存</button>
            </div>
            <div class='col-xs-6'>
                <button class="btn btn-lg btn-default btn-block" type="button" onclick="javascript:history.back(-1);">返回</button>
            </div>
        </div>
    </form>
</block>
